package org.example.psa.biz;

import org.example.inner.dto.req.AccReqDTO;
import org.example.inner.dto.resp.AccRespDTO;
import org.example.inner.inter.acc.IAccountService;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl  implements IAccountService {
    @Override
    public AccRespDTO getOneAccInfo(AccReqDTO accReqDTO) {
        return AccRespDTO.builder()
                .age(23)
                .email(accReqDTO.getEmail())
                .name(accReqDTO.getName())
                .sex(1)
                .id(123L)
                .build();
    }
}
